Melissa Data Corporation 3/25/05

This a sample Data Quality project for use with Address validator for Oracle Warehouse Builder. 

Using the import feature of OWB it is easy to load this sample Meta Data Library into the OWB client. 
The provided source database of Nevada Addresses will allow users to check the output properties available from  
Address Validator for Oracle Warehouse Builder. 

Note: Address Validator cleanses only Nevada Addresses till it is fully activated. To activate the 
Address Validator product and receive a license string please call your customer service representative 
at 800-800-6245 ext #231. 


To utilize the provided samples you must have privileges to load data into the Target Schema. Also 
all Repository Owner, Connect User and Runtime Access users information for the Runtime Repository should 
be already configured and at hand. The setup of OWB is not supported by Melissa Data Technical Support. 


The files provided in this sample are as follows. 

ReadMe.txt - This Document.

oracle.ctl - A control file to load the sample data into the Oracle DB.

Nevada.csv - The sample Database of Nevada Addresses.

TARGET_SCHEMA-CLEANSED_TABLE.html - A HTML file to view the schema of the test output database.

TARGET_SCHEMA-CLEANSED_TABLE - A folder of misc files related to the Schema HTML file. 

DataQuality.mdl - The Sample project for OWB.

...................................................

Step 1. (Setup)

Install the Address Validator with the Setup.exe on the CD.
Copy the Sample folder over to the Local Disk.

...................................................

Step 2. (Setup)

Open the OWB Client and connect to the repository. Click on the Project menu and and MetaData Import . 
Choose File and then Browse to the location of the provided Data Quality MDL file and then click Import.

This will create a new project within OWB called Data Quality.

...................................................

Step 3. (Setup)

Expand the Project Node then Databases - Oracle and next WAREHOUSE.
Right click the WAREHOUSE element and click on Properties and select the Connection Tab.
Click on the New DB Link and then fill out the form to point to your Oracle SID and Design_Client login.
Make to sure to TEST the connection.

...................................................

Step 4. (Setup)

Expand the Locations node and right click the WAREHOUSE_L location and choose Properties.
Click on the Details Tab and ensure that the version is correct for your Oracle Database.

...................................................

Step 5. (Setup)

Now expand the Runtime Repository Connections Node and right click the WBRTA92 element and choose Properties.
Click the Details tab and provide the Oracle SID & the port number the Connect User and Runtime Owner info 
from your OWB setup. Save.

...................................................

Step 6. (Insert the test Tables into the Oracle DB)

Expand the Tables node and right click the CLEANSED_TABLE element and select Validate. 
Next right click the CLEANSED_TABLE element and select Generate. 
Again right click the the CLEANSED_TABLE element and select Deploy. (This will insert the Table into the ORACLE DB)
This will connect you to the repository you set up in Step 5. 
Login as the Connect_User account you previously setup and DEPLOY. 

Repeat the above procedure for the QASOURCE_TABLE

Make sure there are no errors or warnings.

...................................................

Step 7. (Insert the source Nevada data into the QASOURCE_TABLE)

From the Microsoft Windows command prompt type the following command.

c:\>sqlldr control=C:\Sample\oracle.ctl userid=target_schema/target_schema 

Make sure to substitute a valid path to the oracle.ctl file and your schema name and password.

Ensure this completes successfully.

...................................................

Step 8. (Start the Address validator plugin) 

From the Microsoft Windows command prompt navigate to the $OWB_HOME\owb\bin\win32 folder and type nastart.
This will start the Address validator Plugin in its own window. 

...................................................

Step 9. (Execute the sample Mapping)

Within the OWB environment expand the Runtime Repository Connections node and double click the WBRTA92 element. 
Fill out the form with the Connect_User password if need be and connect to the Repository Manager.
Expand the WAREHOUSE_L and WAREHOUSE then Mappings elements and right click the QA_AV_TEST element.
Choose Set Action and then select Create. From the File Menu select Generate/Deploy and follow the Wizard to Deploy the mapping.
After Pre-Deployment and Deployment are successful right click the QA_AV_TEST element and select Execute.
Click Execute again on the next form and the Address Validator will begin to clean all Data in the test Database and 
insert the cleansed data into the CLEANSED_TABLE. This should take a bit. 

...................................................

Step 10. (Examine the clean Data)

From Enterprise Manager or SQLPlus the clean data can be viewed in the CLEANSED_TABLE. 

...................................................

Hopefully this will help get you up and running easily with Address Validator for OWB. 
Any questions can be directed to tech@melissadata.com


Copyright(c)

Melissa Data






 











  




